CREATE TABLE [dbo].[TTGRUP_OPER]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_GRUP_OPER] [dbo].[TD_VC_003] NOT NULL,
[DE_GRUP_OPER] [dbo].[TD_VC_050] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTGRUP_OP__CO_US__0C46B282] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTGRUP_OP__FE_US__0D3AD6BB] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTGRUP_OP__CO_US__0E2EFAF4] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTGRUP_OP__FE_US__0F231F2D] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTGRUP_OPER] ADD CONSTRAINT [PK__TTGRUP_O__9734CB204E546D01] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_GRUP_OPER]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTGRUP_OPER] ADD CONSTRAINT [FK__TTGRUP_OP__CO_EM__5EDFDA85] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
